home *** CD-ROM | disk | FTP | other *** search
/ c't freeware shareware 1999 February / CT_SW9902.ISO / pc / software / wissen / daten / gnuplot.hqx / gnuplot.2.0b4 / Interapplication / apple event listing next >
Text File  |  1997-04-27  |  7KB  |  137 lines

  1. This is the file which is used to generate the AppleScript dictionary for 
  2. gnuplot.  As a result, it shows the currently available set Apple events 
  3. that gnuplot supports.  This file is actually the input to a perl script, 
  4. so it probably looks a bit strange.
  5.  
  6. **** Key ****
  7. @EVENT "applescript name", "applescript description", 'class', 'id'
  8. @REPLY 'type', "applescript description", flags you can ignore
  9. @DIRECT 'type', "tapplescript description", flags you can ignore
  10. @PARAM  "applescript name", 'key', 'type', "applescript description", flags you can ignore
  11. @PROPERTY "applescript name", 'key', 'type', "applescript description", flags you can ignore
  12. @CLASS "applescript name", 'key', "applescript description"
  13. @ENUM "applescript name", 'key', "applescript description"
  14.  
  15. @TITLE "Events for gnuplot"
  16. @VERSION 1.0
  17.  
  18.  
  19. @SUITE "Required Events", "Required events that every application should support.", 'reqd'
  20.  
  21. @SUITE "Standard Suite", "Common terms for most applications", 'CoRe'
  22.  
  23. @EVENT "save", "save an object", 'core', 'save'
  24. @REPLY 'null', "", OPT, SINGLE, ENUM
  25. @DIRECT '****', "the object to save", REQ, SINGLE, ENUM, CHANGE
  26. @PARAM  "in", 'kfil', 'fss ', "the file in which to save the object", REQ, SINGLE, ENUM
  27.  
  28. @EVENT "get", "get the data for an object", 'core', 'getd'
  29. @REPLY '****', "the data from the object", REQ, SINGLE, ENUM
  30. @DIRECT '****', "the object whose data is to be returned", REQ, SINGLE, ENUM, NOCHANGE
  31.  
  32. @EVENT "set", "set an objects data", 'core', 'setd'
  33. @REPLY 'null', "", OPT, SINGLE, ENUM
  34. @DIRECT '****', "the object whose data is to be changed", REQ, SINGLE, ENUM, CHANGE
  35. @PARAM  "to", 'data', '****', "the new value", REQ, SINGLE, ENUM
  36.  
  37. @CLASS "application", 'capp', "application properties"
  38. @PROPERTY "clipboard", 'clip', '****', "gnuplot's clipboard", SINGLE, NOENUM, RDWR
  39. @PROPERTY "terminals", 'TLST', 'TEXT', "list of the currently available terminals", LIST, NOENUM, RDONLY
  40. @PROPERTY "graph creator", 'QDCR', 'fltp', "creator code for QuickDraw graphs", SINGLE, NOENUM, RDWR
  41. @PROPERTY "file creator", 'CREA', 'fltp', "creator code for text plots", SINGLE, NOENUM, RDWR
  42. @PROPERTY "file type", 'TYPE', 'fltp', "file type for text plots", SINGLE, NOENUM, RDWR
  43. @PROPERTY "working folder", 'wfdr', 'alis', "the path to the default folder for the command–line plot and load commands", SINGLE, NOENUM, RDWR
  44. @PROPERTY "current terminal", 'TERM', 'TEXT', "the name of the current terminal", SINGLE, NOENUM, RDONLY
  45. @PROPERTY "text font", 'FONT', 'TEXT', "the font for graphs", SINGLE, NOENUM, RDWR
  46. @PROPERTY "text size", 'SIZE', 'shor', "the text size for graphs", SINGLE, NOENUM, RDWR
  47. @PROPERTY "graph size", 'GSIZ', 'QDpt', "dimensions of the next graph", SINGLE, NOENUM, RDWR
  48. @ELEMENT 'cwin', 'indx', 'name'
  49.  
  50. @CLASS "window", 'cwin', "a window"
  51. @PROPERTY "bounds", 'pbnd', 'qdrt', "the boundary rectangle for the window", SINGLE, ENUM, RDONLY
  52. @PROPERTY "closeable", 'hclb', 'bool', "does the window have a close box?", SINGLE, ENUM, RDONLY
  53. @PROPERTY "index", 'pidx', 'shor', "the number of the window", SINGLE, ENUM, RDONLY
  54. @PROPERTY "floating", 'isfl', 'bool', "does the window float?", SINGLE, ENUM, RDONLY
  55. @PROPERTY "modal", 'pmod', 'bool', "is the window modal?", SINGLE, ENUM, RDONLY
  56. @PROPERTY "resizable", 'prsz', 'bool', "is the window resizable?", SINGLE, ENUM, RDONLY
  57. @PROPERTY "zoomable", 'iszm', 'bool', "is the window zoomable?", SINGLE, ENUM, RDONLY
  58. @PROPERTY "zoomed", 'pzum', 'bool', "is the window zoomed?", SINGLE, ENUM, RDWR
  59. @PROPERTY "name", 'pnam', 'TEXT', "the title of the window", SINGLE, ENUM, RDONLY
  60. @PROPERTY "visible", 'pvis', 'bool', "is the window visible?", SINGLE, ENUM, RDWR
  61. @PROPERTY "position", 'ppos', 'QDpt', "upper left coordinates of window", SINGLE, ENUM, RDWR
  62.  
  63.  
  64. @SUITE "Miscelaneous Events", "Some other events", 'misc'
  65.  
  66. @EVENT "DoScript", "execute a gnuplot script", 'misc', 'dosc'
  67. @REPLY 'TEXT', "what gnuplot said", OPT, SINGLE, ENUM
  68. @DIRECT '****', "a gnuplot script to execute", OPT, SINGLE, ENUM, CHANGE
  69. @PARAM  "with client", 'CLIE', 'sign', "client application", OPT, SINGLE, ENUM
  70. @PARAM  "with creator", 'CREA', 'sign', "creator code for any output", OPT, SINGLE, ENUM
  71. @PARAM  "with type", 'TYPE', 'sign', "file type for any output", OPT, SINGLE, ENUM
  72.  
  73.  
  74. @SUITE "odds and ends", "Things that should be in some standard suite, but aren't", 'Odds'
  75.  
  76. @EVENT "select", "select the specified object", 'misc', 'slct'
  77. @REPLY 'null', "", OPT, SINGLE, ENUM
  78. @DIRECT '****', "the object to select", OPT, SINGLE, ENUM, NOCHANGE
  79.  
  80.  
  81. @SUITE "gnuplot Suite", "Events supplied by gnuplot", 'GPSE'
  82.  
  83. @EVENT "exec", "execute a gnuplot command", 'GPSE', 'exec'
  84. @REPLY 'TEXT', "what gnuplot said", OPT, SINGLE, ENUM
  85. @DIRECT 'TEXT', "a gnuplot command", OPT, SINGLE, ENUM, CHANGE
  86. @PARAM  "with client", 'CLIE', 'sign', "client application", OPT, SINGLE, ENUM
  87. @PARAM  "with creator", 'CREA', 'sign', "creator code for any output", OPT, SINGLE, ENUM
  88. @PARAM  "with type", 'TYPE', 'sign', "file type for any output", OPT, SINGLE, ENUM
  89.  
  90. @EVENT "halt", "halt any processing", 'GPSE', 'HALT'
  91. @REPLY 'null', "", OPT, SINGLE, ENUM
  92. @DIRECT 'null', "", OPT, SINGLE, ENUM, CHANGE
  93.  
  94. @EVENT "open dialog", "open a gnuplot dialog", 'GPLT', 'DIAG'
  95. @REPLY 'null', "", OPT, SINGLE, ENUM
  96. @DIRECT 'DIAG', "the dialog to open", OPT, SINGLE, ENUM, NOCHANGE
  97.  
  98. @EVENT "plot", "do a 2d plot of files or data", 'GPLT', 'plot'
  99. @REPLY 'TEXT', "what gnuplot said", OPT, SINGLE, ENUM
  100. @DIRECT '****', "the data to plot", OPT, SINGLE, ENUM, NOCHANGE
  101. @PARAM  "with", 'line', 'lyty', "line style", OPT, SINGLE, ENUM
  102.  
  103. @EVENT "splot", "do a 3d plot files or data", 'GPLT', 'splt'
  104. @REPLY 'TEXT', "what gnuplot said", OPT, SINGLE, ENUM
  105. @DIRECT '****', "the data to plot", OPT, SINGLE, ENUM, NOCHANGE
  106. @PARAM  "with", 'line', 'lyty', "line style", OPT, SINGLE, ENUM
  107.  
  108. @CLASS "graph", 'cGRF', "graph - subclass of window"
  109. @PROPERTY "picture", 'PICT', 'PICT', "the graph picture", SINGLE, ENUM, RDONLY
  110. @PROPERTY "graph number", 'NUMB', 'shor', "the number of the graph", SINGLE, ENUM, RDONLY
  111. @PROPERTY "title", 'TITL', 'TEXT', "the title of the graph", SINGLE, ENUM, RDONLY
  112.  
  113. @ENUMERATION 'DIAG'
  114. @ENUM "label", 'labl', "label dialog"
  115. @ENUM "offsets", 'oset', "offsets dialog"
  116. @ENUM "textformat", 'text', "text format dialog"
  117. @ENUM "gxtextformat", 'gxtx', "gx text format dialog"
  118. @ENUM "linestyles", 'line', "line styles dialog"
  119. @ENUM "preferences", 'pref', "preferences dialog"
  120.  
  121. @ENUMERATION 'lyty'
  122. @ENUM "lines", 'typ1', "lines"
  123. @ENUM "points", 'typ2', "points"
  124. @ENUM "impulses", 'typ3', "impulses"
  125. @ENUM "linespoints", 'typ4', "lines with points"
  126. @ENUM "dots", 'typ5', "dots"
  127. @ENUM "steps", 'typ6', "steps"
  128. @ENUM "fsteps", 'typ7', "use two line segments"
  129. @ENUM "errorbars", 'typ8', "error bars"
  130. @ENUM "xerrorbars", 'typ9', "horizontal error bars"
  131. @ENUM "yerrorbars", 'ty10', "vertical error bars"
  132. @ENUM "xyerrorbars", 'ty11', "horizontal and vertical error bars"
  133. @ENUM "boxes", 'ty12', "boxes"
  134. @ENUM "boxerrorbars", 'ty13', "boxes and error bars"
  135. @ENUM "boxxyerrorbars", 'ty14', "boxes and xy error bars"
  136. @ENUM "vector", 'ty19', "vector"
  137.